<p>This tests for a crash when outdenting an indented paragraph.  You should see 'foo' in a single level list item.</p>
<div contenteditable="true"><ul><ul><li id="li">foo<br></li></ul></ul></div>

<script>
if (window.testRunner)
    testRunner.dumpAsText();
    
var li = document.getElementById("li");
var sel = window.getSelection();

sel.collapse(li, li.childNodes.length);
document.execCommand("Outdent");
</script>
